package com.open.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.open.system.dao.LoanJuxinliPostInfoDao;
import com.open.system.domain.LoanJuxinliPostInfoDO;
import com.open.system.service.LoanJuxinliPostInfoService;


@Service
public class LoanJuxinliPostInfoServiceImpl implements LoanJuxinliPostInfoService {
    @Autowired
    private LoanJuxinliPostInfoDao loanJuxinliPostInfoDao;

    @Override
    public LoanJuxinliPostInfoDO get(Long id) {
        return loanJuxinliPostInfoDao.get(id);
    }

    @Override
    public List<LoanJuxinliPostInfoDO> list(Map<String, Object> map) {
        return loanJuxinliPostInfoDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return loanJuxinliPostInfoDao.count(map);
    }

    @Override
    public int save(LoanJuxinliPostInfoDO loanJuxinliPostInfo) {
        return loanJuxinliPostInfoDao.save(loanJuxinliPostInfo);
    }

    @Override
    public int update(LoanJuxinliPostInfoDO loanJuxinliPostInfo) {
        return loanJuxinliPostInfoDao.update(loanJuxinliPostInfo);
    }

    @Override
    public int remove(Long id) {
        return loanJuxinliPostInfoDao.remove(id);
    }

    @Override
    public int batchRemove(Long[] ids) {
        return loanJuxinliPostInfoDao.batchRemove(ids);
    }

}
